widget: Make the :has-focus property readonly
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Apr 2020 00:51:31 +0000 (20:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Apr 2020 21:50:29 +0000 (17:50 -0400)
commit97ff1b83dce32b45329139651ded7d6b774bc8e2
treef7dbd805a22bda4df7f8fd9ba318b3f5c58c54b1
parent941685642083156e59d5ce31081365c9d3b77cf2
widget: Make the :has-focus property readonly

The only place where this should be set is when making
a widget the focus-widget of a window. We still keep
the property around in readonly form, since there are
a few places where we rely on property notification
for it.
gtk/gtkwidget.c
gtk/inspector/css-editor.ui